\hypertarget{classadd_buddy}{
\section{add\-Buddy \-Class \-Reference}
\label{classadd_buddy}\index{add\-Buddy@{add\-Buddy}}
}


\-The \hyperlink{classadd_buddy}{add\-Buddy} helper methods.  




{\ttfamily \#include $<$addbuddy.\-h$>$}

\subsection*{\-Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classadd_buddy_a6c64dfa85bf467a51fb9f85f8c09f393}{
void \hyperlink{classadd_buddy_a6c64dfa85bf467a51fb9f85f8c09f393}{add\-Friend} (\-Q\-String)}
\label{classadd_buddy_a6c64dfa85bf467a51fb9f85f8c09f393}

\begin{DoxyCompactList}\small\item\em add\-Friend signal that adds the user to the friends list \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classadd_buddy_a525550539bf281cb0e6090c91c5c4225}{
\hyperlink{classadd_buddy_a525550539bf281cb0e6090c91c5c4225}{add\-Buddy} (\-Q\-Widget $\ast$parent, \-Q\-String person\-Sending\-Request)}
\label{classadd_buddy_a525550539bf281cb0e6090c91c5c4225}

\begin{DoxyCompactList}\small\item\em \hyperlink{classadd_buddy}{add\-Buddy} \-Constructor \end{DoxyCompactList}\item 
\hypertarget{classadd_buddy_a1c43a5fa6e74b744e603c3743f49df09}{
\hyperlink{classadd_buddy_a1c43a5fa6e74b744e603c3743f49df09}{$\sim$add\-Buddy} ()}
\label{classadd_buddy_a1c43a5fa6e74b744e603c3743f49df09}

\begin{DoxyCompactList}\small\item\em \hyperlink{classadd_buddy}{add\-Buddy} \-Deconstructor \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Private \-Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classadd_buddy_a75adb2ddb1d4cd0b31e1da7b2e087074}{handle\-Is\-Valid\-Friend\-Request\-Confirmation} (\-Q\-String person\-Sent\-To, bool is\-Confirmed)
\begin{DoxyCompactList}\small\item\em \-Slot that will handle the friend request confirmation or deny. \end{DoxyCompactList}\item 
\hypertarget{classadd_buddy_a465c14b35c5cd2fa795de7aaff142300}{
void \hyperlink{classadd_buddy_a465c14b35c5cd2fa795de7aaff142300}{on\-\_\-add\-Button\-\_\-clicked} ()}
\label{classadd_buddy_a465c14b35c5cd2fa795de7aaff142300}

\begin{DoxyCompactList}\small\item\em \-Slot that determines if the user has clicked the add button. \end{DoxyCompactList}\item 
\hypertarget{classadd_buddy_a138c4da08fa856d7441774f32b396f3b}{
void \hyperlink{classadd_buddy_a138c4da08fa856d7441774f32b396f3b}{on\-\_\-cancel\-Button\-\_\-clicked} ()}
\label{classadd_buddy_a138c4da08fa856d7441774f32b396f3b}

\begin{DoxyCompactList}\small\item\em \-Slot that determines if the user has clicked the cancel button. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Private \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classadd_buddy_a9e626667376529b5be5fc1fa72eb20f4}{display\-Message} (\-Q\-String msg\-To\-Display)
\begin{DoxyCompactList}\small\item\em \-Method that displays the message sent. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classadd_buddy_a79af2b6b68c227220ec7a2ecfe218941}{
\-Ui\-::add\-Buddy $\ast$ {\bfseries ui}}
\label{classadd_buddy_a79af2b6b68c227220ec7a2ecfe218941}

\item 
\hypertarget{classadd_buddy_a5952652a5825af15b75bd71988802edc}{
\-Q\-String {\bfseries person\-Sending\-Request}}
\label{classadd_buddy_a5952652a5825af15b75bd71988802edc}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-The \hyperlink{classadd_buddy}{add\-Buddy} helper methods. 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{classadd_buddy_a9e626667376529b5be5fc1fa72eb20f4}{
\index{add\-Buddy@{add\-Buddy}!display\-Message@{display\-Message}}
\index{display\-Message@{display\-Message}!addBuddy@{add\-Buddy}}
\subsubsection[{display\-Message}]{\setlength{\rightskip}{0pt plus 5cm}void add\-Buddy\-::display\-Message (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{msg\-To\-Display}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classadd_buddy_a9e626667376529b5be5fc1fa72eb20f4}


\-Method that displays the message sent. 


\begin{DoxyParams}{\-Parameters}
{\em msg\-To\-Display} & \-The message to display to the user \\
\hline
\end{DoxyParams}
\hypertarget{classadd_buddy_a75adb2ddb1d4cd0b31e1da7b2e087074}{
\index{add\-Buddy@{add\-Buddy}!handle\-Is\-Valid\-Friend\-Request\-Confirmation@{handle\-Is\-Valid\-Friend\-Request\-Confirmation}}
\index{handle\-Is\-Valid\-Friend\-Request\-Confirmation@{handle\-Is\-Valid\-Friend\-Request\-Confirmation}!addBuddy@{add\-Buddy}}
\subsubsection[{handle\-Is\-Valid\-Friend\-Request\-Confirmation}]{\setlength{\rightskip}{0pt plus 5cm}void add\-Buddy\-::handle\-Is\-Valid\-Friend\-Request\-Confirmation (
\begin{DoxyParamCaption}
\item[{\-Q\-String}]{person\-Sent\-To, }
\item[{bool}]{is\-Confirmed}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{classadd_buddy_a75adb2ddb1d4cd0b31e1da7b2e087074}


\-Slot that will handle the friend request confirmation or deny. 


\begin{DoxyParams}{\-Parameters}
{\em person\-Sent\-To} & \-The user who is receiving the friend request \\
\hline
{\em is\-Confirmed} & \-A boolean value of the confirm or deny response \\
\hline
\end{DoxyParams}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/\hyperlink{addbuddy_8h}{addbuddy.\-h}\item 
/\-Users/plamontagna/\-Documents/spa-\/cs340project/im\-\_\-client\-\_\-v2/\hyperlink{addbuddy_8cpp}{addbuddy.\-cpp}\end{DoxyCompactItemize}
